package com.dongdongshop.service;

import com.dongdongshop.pojo.TbUser;

public interface RegisterService {

    //查询用户名是否存在
    int findUser(String username);

    //注册功能
    Integer register(TbUser user, String code);
}
